package com.cenntro.nearr;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ImportResource;

@ServletComponentScan
@SpringBootApplication
@ImportResource(locations = { "classpath:druid-bean.xml" })
public class NearrInss {

//	@Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
//        return application.sources(NearrInvestigateMain.class);
//    }
	
//	public static void main1(String[] args) {
//		String s = "31yuan/小时, 10员天";
//		String[] str = s.split(",");
//		
//		
//		System.out.println(str[0].replaceFirst("(\\d+)", "<font>$0</font>"));
//		System.out.println(str[1].replaceFirst("(\\d+)", "<font>$0</font>"));
//		
//	}
	
	public static void main(String[] args) {
		SpringApplication.run(NearrInss.class, args);
	}
//	
}
